¡Sorpréndeme!

Data via FileInputStream Example | Android Tutorial 2.13

2014-04-15 1 Dailymotion

In this Android tutorial we will be working with the FileInputStream class to read and use our data that we stored internally within our application. The FileInputStream will get all of the data within a file by using the filename. Once it has acquired that data it will cycle through the data and convert it into a string. Once we have the string of the data within the file, we will set the text of our TextView with that returned information. There are a couple of exceptions when using the FileInputStream, the FileNotFoundException and the IOException. We will also learn how to catch these problems when we are trying to read the internal storage data files.

Happy Halloween!

Get the source code and more at : http://tinyurl.com/k3o6aan